SELECT TEvents.* FROM `TEvents` WHERE TEvents.`visibility` = '1' AND TEvents.`parent`=11 ORDER BY TEvents.`order` LIMIT -10,10
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10,10' at line 1